package org.example.jwt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.jwt.bean.User;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user where username=#{username} and password=#{password}")
    User login(User user);
}
